// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_PROD_INVENTORY
// * CreateDate    : 2014-06-05 18:30:11
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:11
// * LastChanger   : 2014-06-05 18:30:11
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvProdInventoryTable : TableInfo
    {
		public const string C_TableName = "INV_PROD_INVENTORY";
		
		public const string C_ID = "ID";
		public const string C_INV_NO = "INV_NO";
		public const string C_WO_NO = "WO_NO";
		public const string C_STATUS = "STATUS";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_PROD_ID = "PROD_ID";
		public const string C_PROD_CODE = "PROD_CODE";
		public const string C_PROD_NAME = "PROD_NAME";
		
		public InvProdInventoryTable()
        {
            _tableName = "INV_PROD_INVENTORY";
        }
		
		protected static InvProdInventoryTable _current;
        public static InvProdInventoryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvProdInventoryTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_INV_NO, new ColumnInfo(C_INV_NO,"InvNo", false, typeof(string)));
            _current.Add(C_WO_NO, new ColumnInfo(C_WO_NO,"WoNo", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_PROD_ID, new ColumnInfo(C_PROD_ID,"ProdId", false, typeof(string)));
            _current.Add(C_PROD_CODE, new ColumnInfo(C_PROD_CODE,"ProdCode", false, typeof(string)));
            _current.Add(C_PROD_NAME, new ColumnInfo(C_PROD_NAME,"ProdName", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo INV_NO
        {
            get { return this[C_INV_NO]; }
        }
		
		public ColumnInfo WO_NO
        {
            get { return this[C_WO_NO]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo PROD_ID
        {
            get { return this[C_PROD_ID]; }
        }
		
		public ColumnInfo PROD_CODE
        {
            get { return this[C_PROD_CODE]; }
        }
		
		public ColumnInfo PROD_NAME
        {
            get { return this[C_PROD_NAME]; }
        }
		
		
		
	}
}

